package com.ruoyi.yf.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 条形码 通知记录对象 yf_notice
 * 
 * @author XiaoYi...
 * @date 2020-03-17
 * 2d6acd05-b6bb-4bdf-8e19-63a4090732e0
 */
public class YfNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 通知表id */
    private Long id;

    /** 异常表id yf_exception表 */
    @Excel(name = "异常表id yf_exception表")
    private Long exceptionId;

    /** 发送通知时间 */
    @Excel(name = "发送通知时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sendNoticeDate;

    /** 通知类型 yf_notice_type */
    @Excel(name = "通知类型 yf_notice_type")
    private String noticeType;

    /** 通知用户 */
    @Excel(name = "通知用户")
    private String noticeToUser;

    /** 通知内容 */
    @Excel(name = "通知内容")
    private String noticeContent;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setExceptionId(Long exceptionId) 
    {
        this.exceptionId = exceptionId;
    }

    public Long getExceptionId() 
    {
        return exceptionId;
    }
    public void setSendNoticeDate(Date sendNoticeDate) 
    {
        this.sendNoticeDate = sendNoticeDate;
    }

    public Date getSendNoticeDate() 
    {
        return sendNoticeDate;
    }
    public void setNoticeType(String noticeType) 
    {
        this.noticeType = noticeType;
    }

    public String getNoticeType() 
    {
        return noticeType;
    }
    public void setNoticeToUser(String noticeToUser) 
    {
        this.noticeToUser = noticeToUser;
    }

    public String getNoticeToUser() 
    {
        return noticeToUser;
    }
    public void setNoticeContent(String noticeContent) 
    {
        this.noticeContent = noticeContent;
    }

    public String getNoticeContent() 
    {
        return noticeContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("exceptionId", getExceptionId())
            .append("sendNoticeDate", getSendNoticeDate())
            .append("noticeType", getNoticeType())
            .append("noticeToUser", getNoticeToUser())
            .append("noticeContent", getNoticeContent())
            .toString();
    }
}
